<div class="content" style="margin: 10px;  text-align: center;">

	<form class="layui-form">
		<input type="hidden" id="filename" name="filename">
		<div class="register-box-con2-box clearfix mar-bottom20"></div>
		<div class="layui-form-item">

			<div class="layui-input-inline" style="width:100%;">
				<input type="text" id="media_name" name="media_name" lay-verify="media_name" autocomplete="off"
					placeholder="素材名称" class="layui-input">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-inline" style="width:100%;">
				<select id="type" name="type">
					<option value="image">图片</option>
					<option value="voice">语音</option>
					<option value="video">视频</option>
					<option value="thumb">缩略图</option>
				</select>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-inline" style="width: 100%;">
				<div class="layui-upload-drag" id="btnupload">
					<i class="layui-icon"></i>
					<p>点击上传，或将文件拖拽到此处</p>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-inline" style="width: 100%;">
				<label id="msg" style="font-size: 5pt;"></label>
			</div>
		</div>
		<hr>
		<div class="layui-form-item" style="text-align: left; font-size: 5pt;">
			<ul>
				<li>图片(image):2M,支持PNG\JPEG\JPG\GIF格式</li>

				<li>语音(voice):2M,播放不超过60s,支持AMR\MP3格式</li>

				<li>视频(video):10MB,支持MP4格式</li>

				<li>缩略图(thumb):64KB,支持JPG格式</li>
			</ul>
		</div>
		<div class="layui-form-item" style="display: none;">
			<div class="layui-input-inline">
				<button id="btnsave" class="layui-btn" lay-submit="" lay-filter="save">立即提交</button>
			</div>
		</div>


	</form>

</div>
<script src="__APP__/js/Media/add.js"></script>